package com.project.personal_blog.garbage_classification_management_system.pojo;

import lombok.Data;

@Data
public class Code {
    // 登录成功
    public final static Integer LOGIN_SUCCESS = 101;
    // 登录失败
    public final static Integer LOGIN_FAIL = 102;
    // 注册成功
    public final static Integer REGISTER_SUCCESS = 201;
    // 注册失败
    public final static Integer REGISTER_FAIL = 202;
    // 选择成功
    public final static Integer SELECT_SUCCESS = 301;
    // 选择失败
    public final static Integer SELECT_FAIL = 302;
    // 更新成功
    public final static Integer UPDATE_SUCCESS = 401;
    // 更新失败
    public final static Integer UPDATE_FAIL = 402;
    // 删除成功
    public final static Integer DELETE_SUCCESS = 501;
    // 删除失败
    public final static Integer DELETE_FAIL = 502;
    // 添加成功
    public final static Integer ADD_SUCCESS = 601;
    // 添加失败
    public final static Integer ADD_FAIL = 602;
    // 页面选择成功
    public final static Integer PAGESELECT_SUCCESS = 701;
    // 页面选择失败
    public final static Integer PAGESELECT_FAIL = 702;
    // 排序成功
    public final static Integer SORT_SUCCESS = 801;
    // 排序失败
    public final static Integer SORT_FAIL = 802;
    // 密码长度错误
    public static final Integer PASSWORD_LENGTH_ERROR = 901;
    // 密码格式错误
    public static final Integer PASSWORD_FORMAT_ERROR = 902;;
}
